package de.softcon.sc4retail.domainmodel;

public class User {

	private int userID;
	private String username;
	private String userStreet;
	private String userPostalCode;
	private String userCity;
	private int userECCardNumber;
	private int userBankCode;
	
	public User(int userID, String username, String userStreet,
			String userPostalCode, String userCity) {
		this.userID = userID;
		this.username = username;
		this.userStreet = userStreet;
		this.userPostalCode = userPostalCode;
		this.userCity = userCity;
	}
	
	public void setPaymentDetails(int userECCardNumber, int userBankCode)
	{
		this.userECCardNumber = userECCardNumber;
		this.userBankCode = userBankCode;		
	}
	
	public int getUserID() {
		return userID;
	}
	public String getUsername() {
		return username;
	}
	public String getUserStreet() {
		return userStreet;
	}
	public String getUserPostalCode() {
		return userPostalCode;
	}
	public String getUserCity() {
		return userCity;
	}
	public int getUserECCardNumber() {
		return userECCardNumber;
	}
	public int getUserBankCode() {
		return userBankCode;
	}
	
	
}
